import { ReqSearchList } from "@/api/index";
const state = {
  searchlist: {},
};
const mutations = {
  SAVE_SEARCH_LIST(state, value) {
    state.searchlist = value;
  },
};
const actions = {
  async astncgetSearchList({ commit },searchParams) {
    let data = await ReqSearchList(searchParams);
    commit("SAVE_SEARCH_LIST", data);
  },
};
export default {
  namespaced: true,
  state,
  mutations,
  actions,
};
